package org.answer.service;

import org.answer.entity.PageResult;
import org.answer.entity.QueryPageBean;
import org.answer.pojo.AddressMap;

import java.util.List;

public interface AddressService {

    PageResult findPage(QueryPageBean queryPageBean);

    List<AddressMap> findAll();

    void add(AddressMap addressMap);

    void edit(AddressMap addressMap);

    void delete(Integer id);


    AddressMap findById(Integer id);
}
